
// 查看组队申请列表
// @ts-ignore
export async function execute(client_id,message_json) {
    let login_characters = G.Characters.get_current_login_characters(client_id);
    if (!login_characters["队长"]) {
        ClientUtils.send_basic_prompt(client_id, "你不是队长没有权限操作");
        return;
    }
    
    let team_data = G.TeamUtils.get_team_data(login_characters["队伍"]);
    if (team_data === undefined) {
        ClientUtils.send_basic_prompt(client_id, "队伍已不存在");
        return;
    }
    if (team_data["申请"].length === 0) {
        ClientUtils.send_basic_prompt(client_id, "当前还没有收到入队申请信息");
        return;
    }
    ClientUtils.send_client_message(client_id,4010, team_data["申请"]);
}
